import requests

url = "http://118.121.200.162:8086/api/v5/department"

p= {
    "type": "all"
    # "parentDepartmentId": "0001",
}

res = requests.get(url, params=p)
print(res.text)
assert res.status_code == 200
